import request from "@/axios/request";
// 登录注册 验证码登录
export function getLogin(params) {
  return request({
    method: "POST",
    url: "/login/index",
    params,
  });
}

//密码登录
export function getLoginPassword(params) {
  return request({
    method: "POST",
    url: "/login/passwordLogin",
    params,
  });
}

// 获取手机验证码
export function getCode(params) {
  return request({
    method: "POST",
    url: "/login/getCode",
    params,
  });
}

// 忘记密码
export function getforgotPassword(params) {
  return request({
    method: "POST",
    url: "/login/forgotPassword",
    params,
  });
}
